def fib(n):
    a, b = 0, 1
    while a < n:
        yield a
        a, b = b, a + b


a = fib(10000000000000000000000000000000000000000000000)
print(a)

for i in a:
    print(i)
